﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Routing;

namespace Sparrow.VisualStudio.Debugger.RouteVisualizer
{
    public class RouteRow
    {
        public bool Matched
        {
            get
            {
                return this.RouteData != null;
            }
        }

        public string Url
        {
            get;
            set;
        }

        public string Defaults
        {
            get;
            set;
        }

        public string DataTokens
        {
            get;
            set;
        }

        public string Constraints
        {
            get;
            set;
        }

        public string RouteHandler
        {
            get;
            set;
        }

        public RouteData RouteData
        {
            get;
            set;
        }
    }
}
